package com.lu.statistics.entity.front.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;


@Getter
@Setter
@ApiModel(value = "创建客户信息")
public class CreateCustomer {
    @ApiModelProperty(value = "客户名称", required = true, name = "name", dataType = "string")
    private String name;
    @ApiModelProperty(value = "客户电话", required = true, name = "phone", dataType = "string")
    private String phone;
    @ApiModelProperty(value = "开始时间", required = true, name = "startTime", dataType = "date")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;
//    @ApiModelProperty(value = "就餐时长", required = true, name = "mealDuration", dataType = "int")
//    private Integer mealDuration;
//    @ApiModelProperty(value = "结束时间", required = true, name = "endTime", dataType = "date")
//    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
//    private Date endTime;
    @ApiModelProperty(value = "预定礼厅", required = true, name = "bookingRoom", dataType = "string")
    private String bookingRoom;
    @ApiModelProperty(value = "预定种类", required = true, name = "bookingType", dataType = "string")
    private String bookingType;
    @ApiModelProperty(value = "餐桌数量", required = true, name = "tableCount", dataType = "int")
    private Integer tableCount;
//    @ApiModelProperty(value = "预定金额", required = true, name = "bookingAmount", dataType = "string")
//    private String bookingAmount;
//    @ApiModelProperty(value = "预留订金", required = true, name = "deposit", dataType = "string")
//    private String deposit;
    @ApiModelProperty(value = "备注", required = true, name = "describes", dataType = "string")
    private String describes;
}
